package com.lanchetech.dao;

import com.lanchetech.entity.RecommendSpu;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RecommendSpuMapper {
    int deleteByPrimaryKey(Long id);

    int insert(RecommendSpu record);

    int insertSelective(RecommendSpu record);

    RecommendSpu selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RecommendSpu record);

    int updateByPrimaryKey(RecommendSpu record);

    int updateBatch(List<RecommendSpu> list);

    int updateBatchSelective(List<RecommendSpu> list);

    int batchInsert(@Param("list") List<RecommendSpu> list);

    List<RecommendSpu> findAllByTenantId(@Param("tenantId")Long tenantId);

    int deleteByTenantId(@Param("tenantId")Long tenantId);

}